[HVM][VNC] Fix bug in the VNC copyrect implementation which crept in
authorSteven Smith <ssmith@xensource.com>
Fri, 22 Sep 2006 08:12:00 +0000 (09:12 +0100)
committerSteven Smith <ssmith@xensource.com>
Fri, 22 Sep 2006 08:12:00 +0000 (09:12 +0100)
with the update backoff patch.

Signed-off-by: Steven Smith <sos22@cam.ac.uk>
tools/ioemu/vnc.c

index 1ec35e3bb8daa6971cd6c5f2571ddfa61d8c8d85..317d06925618bac2c9c40fa72ee2834b6d14ae2b 100644 (file)
@@ -401,6 +401,9 @@ static void vnc_copy(DisplayState *ds, int src_x, int src_y, int dst_x, int dst_
        (dst_y + h) > (vs->visible_y + vs->visible_h))
        updating_client = 0;
 
+    if (updating_client)
+       _vnc_update_client(vs);
+
     if (dst_y > src_y) {
        y = h - 1;
        pitch = -pitch;